package main

import "fmt"

type point struct{
	x,y int
}

func main(){

	p:= point{1,2}
	fmt.Printf("%v\n",p)
	fmt.Printf("%+v\n",p)

	fmt.Printf("%#v\n",p)
	fmt.Printf("%T\n",p)

	fmt.Printf("%t\n",true)
	fmt.Printf("%d\n",134)

	fmt.Printf("|%6d|%6d\n",12,345)
	fmt.Printf("|%6.2f\n",1.2)
	s := fmt.Sprintf("a %s","string")
	fmt.Println(s)
}
